package com.chy.order_meal.bean;

public class ChyResponse {

    private boolean success;
    private String msg;
    private Object data;

    public ChyResponse(boolean success, String msg, Object data) {
        this.success = success;
        this.msg = msg;
        this.data = data;
    }


    public ChyResponse() {
    }

    public static ChyResponse simpSuccess(Object data){
       return new ChyResponse(true,"",data);
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
